<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>SYMMETRY: resultsDB::cResultsDB Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SYMMETRY
   </div>
   <div id="projectbrief">ENGINEFORSCIENTIFICCOMPUTATION,VISUALIZATIONANDSIMULATION</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classresultsDB_1_1cResultsDB.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a> &#124;
<a href="classresultsDB_1_1cResultsDB-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">resultsDB::cResultsDB Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="results__db_8h_source.html">results_db.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for resultsDB::cResultsDB:</div>
<div class="dyncontent">
<div class="center"><img src="classresultsDB_1_1cResultsDB__coll__graph.png" border="0" usemap="#resultsDB_1_1cResultsDB_coll__map" alt="Collaboration graph"/></div>
<map name="resultsDB_1_1cResultsDB_coll__map" id="resultsDB_1_1cResultsDB_coll__map">
<area shape="rect" id="node3" title="STL class. " alt="" coords="69,248,187,325"/><area shape="rect" id="node7" title="STL class. " alt="" coords="245,147,341,224"/><area shape="rect" id="node5" href="classresultsDB_1_1cLruHashMap.html" title="{resultsDB::cLruHashMap\l\&lt; std::size_t, std::unique\l_ptr\&lt; resultsDB::cResultsBucket \&gt; \&gt;\n|&#45; m_Size\l&#45; m_Entries\l&#45; m_HashTable\l|+ cLruHashMap()\l+ ~cLruHashMap()\l+ resize()\l+ insert()\l+ get()\l+ size()\l+ find()\l+ end()\l}" alt="" coords="170,915,413,1154"/><area shape="rect" id="node8" href="classresultsDB_1_1cLruHashMap.html" title="{resultsDB::cLruHashMap\l\&lt; KEY, MAPPED \&gt;\n|&#45; m_Size\l&#45; m_Entries\l&#45; m_HashTable\l|+ cLruHashMap()\l+ ~cLruHashMap()\l+ resize()\l+ insert()\l+ get()\l+ size()\l+ find()\l+ end()\l}" alt="" coords="400,597,576,821"/></map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a02d8a22f9d7aea2ee62385decb6e9c9e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a02d8a22f9d7aea2ee62385decb6e9c9e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>GetResult</b> (engine::COMMAND_TYPE command, const std::string &amp;params, std::string &amp;result)</td></tr>
<tr class="separator:a02d8a22f9d7aea2ee62385decb6e9c9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e27cf265d98568c31252b6164e5f0e5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9e27cf265d98568c31252b6164e5f0e5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SaveResult</b> (engine::COMMAND_TYPE command, const std::string &amp;params, const std::string &amp;result)</td></tr>
<tr class="separator:a9e27cf265d98568c31252b6164e5f0e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a559abd644f2f1e2df8909bcf16fd2d07"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a559abd644f2f1e2df8909bcf16fd2d07"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SaveDB</b> () const </td></tr>
<tr class="separator:a559abd644f2f1e2df8909bcf16fd2d07"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a8f6921a15fc1e574f8a356352824a0e5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8f6921a15fc1e574f8a356352824a0e5"></a>
static <a class="el" href="classresultsDB_1_1cResultsDB.html">cResultsDB</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>GetInstance</b> ()</td></tr>
<tr class="separator:a8f6921a15fc1e574f8a356352824a0e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:ab0f4d48abc214a3156fadafd6ef4cd5c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab0f4d48abc214a3156fadafd6ef4cd5c"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>cResultsDB</b> (const <a class="el" href="classresultsDB_1_1cResultsDB.html">cResultsDB</a> &amp;)</td></tr>
<tr class="separator:ab0f4d48abc214a3156fadafd6ef4cd5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb3d112babc66b7f4fb4830ae10781f8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abb3d112babc66b7f4fb4830ae10781f8"></a>
<a class="el" href="classresultsDB_1_1cResultsDB.html">cResultsDB</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classresultsDB_1_1cResultsDB.html">cResultsDB</a> &amp;)</td></tr>
<tr class="separator:abb3d112babc66b7f4fb4830ae10781f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7f64a509aed66ef34c3edb2dc32877c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7f64a509aed66ef34c3edb2dc32877c"></a>
std::size_t&#160;</td><td class="memItemRight" valign="bottom"><b>Hash</b> (engine::COMMAND_TYPE command, const std::string &amp;params) const </td></tr>
<tr class="separator:ab7f64a509aed66ef34c3edb2dc32877c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e9e30b06267f3fccb1cfbc12888c9bd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e9e30b06267f3fccb1cfbc12888c9bd"></a>
std::size_t&#160;</td><td class="memItemRight" valign="bottom"><b>GetFirstBits</b> (const std::size_t hash) const </td></tr>
<tr class="separator:a7e9e30b06267f3fccb1cfbc12888c9bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a7995d8db612f870c10e630ed3c7227ca"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7995d8db612f870c10e630ed3c7227ca"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>m_DirectorySz</b></td></tr>
<tr class="separator:a7995d8db612f870c10e630ed3c7227ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa72d39f2089001696d68130b24f6b84"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afa72d39f2089001696d68130b24f6b84"></a>
unsigned short&#160;</td><td class="memItemRight" valign="bottom"><b>m_IndexBitsSz</b></td></tr>
<tr class="separator:afa72d39f2089001696d68130b24f6b84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac36f682079988ffe2fe6b448491ebb81"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac36f682079988ffe2fe6b448491ebb81"></a>
std::vector&lt; std::size_t &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_Directory</b></td></tr>
<tr class="separator:ac36f682079988ffe2fe6b448491ebb81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ef17deaa280d2b4768357b3756ae6c3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9ef17deaa280d2b4768357b3756ae6c3"></a>
<a class="el" href="classresultsDB_1_1cLruHashMap.html">cLruHashMap</a>&lt; std::size_t, <br class="typebreak"/>
std::unique_ptr<br class="typebreak"/>
&lt; <a class="el" href="classresultsDB_1_1cResultsBucket.html">cResultsBucket</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_LruHashMap</b></td></tr>
<tr class="separator:a9ef17deaa280d2b4768357b3756ae6c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr class="memitem:aa8a36a2445a905cc65b79990bdfb0fc7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa8a36a2445a905cc65b79990bdfb0fc7"></a>
static <a class="el" href="classresultsDB_1_1cResultsDB.html">cResultsDB</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>s_Instance</b> = nullptr</td></tr>
<tr class="separator:aa8a36a2445a905cc65b79990bdfb0fc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>database (based on dynamic hashing) for holding the results of previously received commands &ndash; SINGLETON </p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="results__db_8h_source.html">results_db.h</a></li>
<li>results_db.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>resultsDB</b></li><li class="navelem"><a class="el" href="classresultsDB_1_1cResultsDB.html">cResultsDB</a></li>
    <li class="footer">Generated on Tue Feb 25 2014 17:12:06 for SYMMETRY by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
